<?php

namespace Modules\Common\Models\Validation;


/**
 *@property int $id
 *@property int $sid
 *@property int $eid
 *@property int $user_id
 *@property int $start_date
 *@property string $end_date
 *@property int $status
 *@property int $subscription_type_id
 *@property string $admin_user_id
 *@property string $created_at
 *@property string $updated_at
 *@property string $deleted_at
 */
trait SubscriptionRecordsValidation 
{


    public function createRules()
    {
         return [
            'rules' => [
                'admin_user_id'=>'integer',
                'start_date'=>'between:0,32',
                'end_date'=>'between:0,32',
                'status'=>'integer',
                'subscription_type_id'=>'integer',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }

    public function updateRules()
    {
         return [
            'rules' => [
                'admin_user_id'=>'integer',
                'start_date'=>'between:0,32',
                'end_date'=>'between:0,32',
                'status'=>'integer',
                'subscription_type_id'=>'integer',
                
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }


}
